package com.le.tester.dao1;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Qualifier;

import java.math.BigDecimal;

/**
 * createTime：2024-11-28 15:37
 * description：员工薪资dao
 */
@Mapper
public interface EmployeeSalaryDao {


    @Insert("insert into employee_salary (emp_id,salary) values (#{empId},#{salary})")
    @Qualifier("sqlSessionFactorySalary")
    void addEmployeeSalary(@Param("empId") Long empId, @Param("salary") BigDecimal salary);


}
